<?php
/**
 * Created by PhpStorm.
 * User: tom_xia
 * Date: 2018/6/9
 * Time: 16:41
 * 配音开关
 */
require_once dirname(__DIR__) . "/common.php";

use app\cls\tom\Response;

$redis = \app\cls\tom\SysResource::getRedis();
$status = $redis->get("dub_music_select");
if($status && $status == 1){
    Response::output(0,"ok",["switch"=>1]);
}else{
    Response::output(0,"ok",["switch"=>0]);
}
